import Layout from '@/layout'

const order =  {
    path: "/order",
    component: Layout,
    redirect: "/category/list",
    meta: {
      title: '订单管理',
      icon: 'order'
    },
    children: [
      {
        path: "list",
        component: () => import("@/views/order/list"),
        meta: { title: "订单列表", icon: "order" }
      },
      {
        path: "add",
        component: () => import("@/views/order/add"),
        meta: { title: "新增订单", icon: "addOrder" }
      },
      {
        path: "edit",
        component: () => import("@/views/order/edit"),
        hidden:true,
        meta: { title: "编辑订单", icon: "order" }
      }
    ]
  }

  export default order
